package com.dd.cloud.user.res.drugs;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 药品出库记录表 按照药品分组
 * </p>
 *
 * @author czg
 * @since 2022-05-09
 */
@Data
public class DrugsOutboundGroupPageRes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 中药模型表 记录中药材的基本情况
     */
    private Integer id;

    /**
     * 药房id
     */
    private Integer pharId;

    /**
     * 药房名称
     */
    @Excel(name = "药房名称", width = 20, orderNum = "2")
    private String pharName;

    /**
     * 药材名称
     */
    @Excel(name = "药品名称", width = 20, orderNum = "1")
    private String herbName;

    /**
     * 药材编码
     */
    @Excel(name = "药品编号", width = 30, orderNum = "0")
    private String drugnum;


    /**
     * 药材单位
     */
    @Excel(name = "单位", width = 10, orderNum = "3")
    private String useUnit;

    /**
     * 规格
     */
    private String specification;


    /**
     * 药材单价
     */
    private BigDecimal price;

    /**
     * 出库金额
     */
    @Excel(name = "出库总金额(元)", width = 25, orderNum = "5")
    private BigDecimal outboundPrice;


    /**
     * 出库数量
     */
    @Excel(name = "出库数量(单位)", width = 15, orderNum = "4")
    private BigDecimal outQty;

    /**
     * 创建日期
     */
    private LocalDateTime createDate;

    @Excel(name = "出库时间段", width = 40, orderNum = "6")
    private String timePeriod;
    /**
     * 公益价格
     */
    private BigDecimal publicPrice;
}
